<?php 

$this->headScript()
		->appendFile($this->baseUrl()."/js/jquery/development-bundle/ui/jquery.ui.core.js")
		->appendFile($this->baseUrl()."/js/jquery/development-bundle/ui/jquery.ui.widget.js")
		->appendFile($this->baseUrl()."/js/jquery/development-bundle/ui/jquery.ui.button.js");
$this->headLink()->appendStylesheet($this->baseUrl(). '/js/jquery/development-bundle/themes/ui-lightness/jquery.ui.all.css');
$this->headTitle('Tiendas');
?>
<div class="section table_section">
<div class="section_inner">
	<div class="title_wrapper">
		<h2 id="title-section">Compañia</h2>
	</div>
	<div class="section_content">
	<p class="errorText">&nbsp;<?php echo $this->messageError; ?></p>
	<div  id="product_list">
	<!--[if !IE]>start table_wrapper<![endif]-->
	<div class="table_wrapper">
		<div class="table_wrapper_inner">
		
                <table border="0" width="100%" cellspacing="0" cellpadding="0">
                <tbody>
                	<tr>
		              	<th width="20" align="right">ID</td>
		                <th width="400" align="left">Nombre</td>
		                <th width="400" align="left">Propietario</td>
		                <th width="400" align="left">Url</td>
		                <th align="right">Acción&nbsp;</td>
              		</tr>
              
		<?php 

			foreach ($this->Companys AS $dat){
		?>
		
              <tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" >
                <td width="20" align="right"><?php echo $dat['Id'];?></td>
                <td valign="middle">
                	<a class="product_name" href="<?php echo $this->baseUrl(); ?>/admin/company/edit/Id/<?php echo $dat['Id'];?>/">
                		<?php echo (isset($dat['Company_Name'])) ? $dat['Company_Name'] : '&nbsp;&nbsp;'; ?>
					</a>
                </td>
                <td align="center" valign="middle"><?php echo (isset($dat['Url_Site'])) ? $dat['Url_Site'] : '&nbsp;&nbsp;'; ?></td>
                <td align="center" valign="middle"><?php echo (isset($dat['Owner_Name'])) ? $dat['Owner_Name'] : '&nbsp;&nbsp;'; ?></td>                
                <td align="right">
                <div class="actions_menu">
						<ul>
							<li>
								<a href='<?php echo $this->baseUrl(); ?>/admin/seo/add/Id/<?php echo $dat['SeoId'];?>/' title='Editar' class='edit'>
									Seo
								</a>
							<li><a class="details" href="<?php echo $this->baseUrl(); ?>/admin/company/edit/Id/<?php echo $dat['Id']; ?>/">
								Editar</a>
							</li>
						</ul>
				</div>
					
               </td>
              </tr>
              
<?php 		}
		
?>              
        </table>
        </div>
        
</div>
	<!--[if !IE]>end table_wrapper<![endif]-->
	</div>
	
			
		</div>
	</div>        

<script type="text/javascript">
$(document).ready(function(){
	$( "#addtaxe" ).button();
	
	
});
</script>
</div>

